<?php
require(dirname(__FILE__)."/includes/init.php");


$sql = "update sendLimit set emailSendNum = 0,flag = 0";
$GLOBALS['db']->dbquery($sql);
$timeStr = formateTime()-172800;
$sql = "delete from tempTemplate where flag = 1 and timeStamps<".$timeStr."";
$GLOBALS['db']->dbquery($sql);
?>
